<template>
    <div class="welcome">
        <h2>Welcome</h2>
        <h3>欢迎来到小魏同学的后台电商管理系统</h3>
        <div class="personal">
            <div class="info"> 
                <ul>
                    <li>
                        <a href="https://blog.csdn.net/weixin_47417033?type=blog" target="_blank">CSDN</a>
                        <span>CSDN博客——小魏每天都学习</span>
                    </li>
                    <li>
                        <a href="https://gitee.com/weiyaoyaowei" target="_blank">Gitee</a>
                        <span>Gitee码云——存放代码项目等</span>
                    </li>
                </ul>
            </div>
            <div class="pic">
            </div>
        </div>
    </div>
</template>
<style lang="less" scoped>
    .welcome{
        width: 100%;
        height: 100%;
        padding: 20px;
        background-color: #ddd;
    }

   .personal{
       display: flex;
   }

   .info{
       flex:1
   }

   .pic{
       width: 400px;
       height: 500px;
       flex:1;
       background: url(../assets/flower.png);
       background-size: 100%;
   }
  
   h2,h3{
       color:green;
       text-align: center;
   }

   li{
       list-style: none;
       margin:10px;
   }


    ul li a{
       display: inline-block;
       color: #666;
       font-size: 18px;
       font-weight: 700;
       padding: 5px;
       border: 3px solid pink;
       text-decoration: none;
       margin-right: 15px;
       color: palevioletred;
   }

   ul li a:hover{
       background-color: pink;
   }
</style>